package com.liyujie.networkrequest.pop;

import android.content.Context;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.liyujie.networkrequest.R;
import com.lxj.xpopup.core.CenterPopupView;

/**
 * 请稍后
 */
public class AwaitTipsPopup extends CenterPopupView {

    /**
     * 内容
     */
    private TextView Content;
    /**
     * 文字内容
     */
    private String content;

    public AwaitTipsPopup(@NonNull Context context,String content) {
        super(context);
        this.content = content;

    }

    @Override
    protected int getImplLayoutId() {

        return R.layout.popup_await_tips;

    }


    @Override
    protected void onCreate() {
        super.onCreate();
        Content = findViewById(R.id.Content);
        Content.setText(content);
    }

}
